package god;

public class J01AccountExample {
	public static void main(String[] args) {
		int aid = 0, balance = 0, withDraw, deposit;
		double interestRate = 0, getMonthlyInterestRate;
		String dateCreate; // 2014-03-11

		dateCreate = "2014-03-11";
		deposit = 0;
		withDraw = 0;
		getMonthlyInterestRate = interestRate / 12;
		balance = balance + deposit; // 입금
		balance = balance - withDraw; // 인출

		System.out.println(aid);
		System.out.println(balance);
		System.out.println(interestRate);
		System.out.println(dateCreate);
		System.out.println(withDraw);
		System.out.println(deposit);

		// 시험값 : 1122, 20000, 4.5
		// : 2500인출, 3000인출

		aid = 1122;
		balance = 20000;
		interestRate = 4.5;
		withDraw = 2500;

		getMonthlyInterestRate = interestRate / 12;
		balance = balance - withDraw;

		System.out.println(aid);
		System.out.println(balance);
		System.out.println(interestRate);
		System.out.println(dateCreate);
		System.out.println(getMonthlyInterestRate);
		System.out.println(withDraw);
		System.out.println(deposit);

		aid = 1122;
		balance = 20000;
		interestRate = 4.5;
		withDraw = 3000;

		getMonthlyInterestRate = interestRate / 12;
		balance = balance - withDraw;

		System.out.println(aid);
		System.out.println(balance);
		System.out.println(interestRate);
		System.out.println(dateCreate);
		System.out.println(getMonthlyInterestRate);
		System.out.println(withDraw);
		System.out.println(deposit);
	}
}
